import request from '@/utils/request'

// 查询项目标准阶段管理列表
export function listStandardStage(query) {
  return request({
    url: '/factor/standardStage/list',
    method: 'get',
    params: query
  })
}

// 查询项目标准阶段管理详细
export function getStandardStage(id) {
  return request({
    url: '/factor/standardStage/' + id,
    method: 'get'
  })
}

// 新增项目标准阶段管理
export function addStandardStage(data) {
  return request({
    url: '/factor/standardStage',
    method: 'post',
    data: data
  })
}

// 修改项目标准阶段管理
export function updateStandardStage(data) {
  return request({
    url: '/factor/standardStage',
    method: 'put',
    data: data
  })
}

// 删除项目标准阶段管理
export function delStandardStage(id) {
  return request({
    url: '/factor/standardStage/' + id,
    method: 'delete'
  })
}


// 清理参数缓存
export function clearStandardStageCache() {
  return request({
    url: '/factor/standardStage/clearCache',
    method: 'delete'
  })
}


